{// 引入标签库 }
<tagLib name="html" />
{// 加载头部公共文件 }
<include file="../Public/header" />
 <div class="main">
<H2>数据批量导入</H2>
 本模块允许你上传DBF,来批量导入数据,请确认你的文件格式一定是DBF4的。
 <div id="main" class="main" >
<div class="content">
<form id="upload" METHOD=POST action="__URL__/import/" >
<TABLE cellpadding=3 cellspacing=3 width="450PX">
<TR>
	<TD colspan="2" class="tLeft">
	<div class="result" style="background:#E9E9F3">请选择导入项目的字段</div>
	</TD>
</TR>
<iterate name="field" id="vo">
<TR>
	<TD width="103" class="tRight tTop">{$vo.name}</TD>
	<TD width="324" class="tLeft tTop"><select name="{$vo.field}" id="{$vo.field}">
            <option value=""></option>
			<sublist name="vo['dbf']" id="sub">
			<option value="{$sub}" <eq name="vo['dbfname']" value="$sub" >selected</eq>>{$sub}</option>
			</sublist>
	    </select>
	  </TD>
</TR>
</iterate>
<TR>
	<TD colspan="2" class="tLeft"><input name="tabName" type="hidden" value="{$tabName}" />
	<div class="result" style="background:#E9E9F3">如果某个项目不想导入的话,请选择空白.</div>
	<INPUT name="重置" TYPE="reset" class="button small" value="重置"> 
	<INPUT TYPE="submit" value="提交" class="small button "></TD>
</TR>
</TABLE>
</form>
</div>
</div>
</div>
<include file="../Public/footer" /> 

